<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TestedRoslynVersion>4.4</TestedRoslynVersion>
  </PropertyGroup>

  <ItemGroup Condition="'$(ContinuousIntegrationBuild)' == 'true'">
    <HighAotMemoryUsageAssembly Include="Microsoft.CodeAnalysis.CSharp.dll" />
    <HighAotMemoryUsageAssembly Include="System.Text.Json.SourceGeneration.Roslyn4.4.Tests.dll" />
  </ItemGroup>

  <Import Project="System.Text.Json.SourceGeneration.Tests.targets" />

  <ItemGroup>
    <RdXmlFile Include="roslyn4.4.rd.xml" />
  </ItemGroup>

  <ItemGroup>
    <!-- The Roslyn4.4 project uses multi-targeting to enable nullability annotations,
         so we need to explicitly reference the ns2.0 TFM used by the production source generator -->
    <ProjectReference Include="..\..\gen\System.Text.Json.SourceGeneration.Roslyn4.4.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" SetTargetFramework="TargetFramework=netstandard2.0" />
    <ProjectReference Include="..\System.Text.Json.SourceGeneration.TestLibrary\System.Text.Json.TestLibrary.Roslyn4.4.csproj" />
  </ItemGroup>
</Project>
